<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %>
      <%! String formAction="";%>
      <logic:equal parameter="action" scope="request" value="Create">
      <%formAction="/portal/editSubscription.do?action=Save";%>
      </logic:equal> <logic:equal parameter="action" scope="request" value="ViewInfo">
      <%formAction="/portal/editProfile.do?action=UpdateInfo";%>
      </logic:equal> 
<html>
<jsp:include page="top.jsp"/>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<br>
<html:form action="<%=formAction%>" enctype="multipart/form-data">

<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td class="text style3"><img src="../images/spacer.gif" width="1" height="10" alt="** PLEASE DESCRIBE THIS IMAGE **"></td>
              </tr>
              <tr>
                <td height="32" class="text style3"><span class="bluehead">Update your Profile </span></td>
              </tr>
              <tr>
                <td class="text">
                  <div class="c2"><img src="../images/line.jpg" width="950" height="3" vspace="5" alt="** PLEASE DESCRIBE THIS IMAGE **"></div></td>
              </tr>
              <tr valign="top">
                <td width="49%" class="text"><table width="770" height="402" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
                  <tr>
                    <td> <img src="../images/profile_bg1.jpg" width="770" height="21" alt=""></td>
                  </tr>
                  <tr>
                    <td height="363" valign="top" background="../images/profile_bg2.jpg"><table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="58%" height="357" valign="top"><table width="100%" height="159"  border="0" cellpadding="0" cellspacing="0">
                          <tr valign="middle" class="form">
                            <td height="16" colspan="3" class="form">..</td>
                          </tr>
                          <tr valign="top">
                            <td width="24%" height="36" class="greytext">
                              <div align="right">
                                <label for=label10> E-Mail</label>
                            </div></td>
                            <td width="2%">&nbsp;</td>
                            <td width="74%">
<logic:equal parameter="action" scope="request" value="Create"> 
				<html:text property="email"/> <SUP>* <br>
				(All correspondence notified to this address)</SUP> </logic:equal> 
				<logic:equal parameter="action" scope="request" value="Save"> <html:text property="email" styleClass="field"/> 
				<SUP>* <br>				
				(All correspondence notified to this address)</SUP> </logic:equal><logic:equal parameter="action" scope="request" value="ViewInfo"> 
				<html:text property="email" readonly="true" styleClass="field"/> <SUP>* <br>
				(All correspondence notified to this address)</SUP> </logic:equal><logic:equal parameter="action" scope="request" value="UpdateInfo"> 
				<html:text property="email" readonly="true" styleClass="field"/> <SUP>* <Br>
				(All correspondence notified to this address)</SUP> </logic:equal> 

</td>
                          </tr>

                         <tr valign="top">
                            <td height="37" class="greytext">
                              <div align="right">
                                <label for=label12>Password</label>
                            </div></td>
                            <td>&nbsp;</td>
                            
<td> 
  <html:password property="password" styleClass="field"/>     
*</td> 
                          </tr>
                          <tr valign="top">
                            <td height="35" class="greytext">
                              <div align="right">
                                <label for=label11>City</label>
                            </div></td>
                            <td>&nbsp;</td>
                            <td>

        
         <html:text property="city" styleClass="field"/> </td>
                   
 
 </tr>
                          <tr>
                            <td height="35" colspan="3" valign="bottom"><span class="vMessage"> </span>                              <div align="right">
<span class="vMessage">
	<%
					  	String action = request.getParameter("action");
						if (action==null)
						{
							action="";
						}
						if (action.equals("Create") || action.equals("Save"))
						{
						
						}
					  %>
      
<input type="image" src="../images/submit.jpg" width="93" height="29" hspace="85"></span></div></td>
                            </tr>
                        </table></td>
                        <td width="42%" valign="top"><br>                          <table width="261" height="337" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
                          <tr>
                            <td> <img src="../images/blu_01.jpg" width="261" height="8" alt=""></td>
                          </tr>
                          <tr>
                            <td height="320" valign="top" background="../images/blu_02.jpg"><table width="85%"  border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr>
                                <td height="30" class="blu">Benefits of a Droik account </td>
                              </tr>
                              <tr>
                                <td valign="top"><div align="left">Respond to all the postings without logging into your e-mail account.<br>
                                  <br>
                                  Maintain a list of all your postings. <br>
                                      <br>
                                      Edit, modify, delete or just keep your postings for future reference.</div>                                  </td>
                              </tr>
                            </table> </td>
                          </tr>
                          <tr>
                            <td> <img src="../images/blu_03.jpg" width="261" height="9" alt=""></td>
                          </tr>
                        </table></td>
                      </tr>
                    </table> </td>
                  </tr>
                  <tr>
                    <td> <img src="../images/profile_bg3.jpg" width="770" height="18" alt=""></td>
                  </tr>
                </table></td>
              </tr>
            </table>
</html:form>
<jsp:include page="footer.html"/>
</body>
</html>